//
//  CollectItemCell.m
//  SleepingElf
//
//  Created by karong on 2023/10/26.
//

#import "CollectItemCell.h"

@interface CollectItemCell ()
@property (weak, nonatomic) IBOutlet UIView *bgView;

@end


@implementation CollectItemCell
- (void)setDataWithObject:(MusicModel *)object type:(NSInteger)type {
    [super setDataWithObject:object];
    self.bgView.hidden = !(([object.url isEqualToString:appConfig.sleepConfig.url] && type == 2) || ([object.url isEqualToString:appConfig.xiaoQiConfig.url] && type == 1));
}
@end
